<!DOCTYPE html>
<html class="modern" lang="zh-cmn-Hans">
<head>
    <meta charset="utf-8">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="title" content="全民秀网-美女视频-互动娱乐平台"/>
    <meta name="Keywords"
          content="全民秀,全民秀网,真人直播秀,生活秀,在线演艺,美女直播,视频聊天,视频交友,秀场,全民秀秀场 ,美女艺人,美女视频,视频直播,美女秀场,真人秀场,在线K歌,视频秀场,真人视频"/>
    <meta name="Description"
          content="全民秀网是大型在线互联网演艺视频互动娱乐平台，全网级高清真人视频直播平台。全民秀网通过对传统视频直播模式的升级换代，构建新型产业链生态，开创更多直播互动玩法，聚集更多艺人级美女资源，提供更多精彩综艺直播节目，给用户带来更丰富的娱乐体验，致力于打造成有全国性影响力的“互联网+娱乐”平台。"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <title>首次充值活动</title>
    <script type="text/javascript">
        window.jQuery || document.write("<script src='<%- Virtual_Path.Static %>jquery/jquery-2.1.4.min.js'>" + "<" + "/script>");
    </script>
    <!-- Basic Styles -->
    <link rel="stylesheet" type="text/css" media="screen" href="<%- Virtual_Path.Static %>common/css/animate.min.css">
    <!-- lodash -->
    <script src="<%- Virtual_Path.Static %>jquery.plugin/lodash/lodash.min.js"></script>
    <!-- PageScript -->
    <script><%- PageScript %></script>
    <script src="<%- Virtual_Path.Static %>common/js/flexible/flexible.js"></script>
    <!-- koc -->
    <script src="<%- Virtual_Path.Static %>jquery.plugin/koc/koc.min.js"></script>
    <link rel="stylesheet" href="<%- Virtual_Path.Static %>jquery.plugin/koc/koc.css"/>
    <script src="/js/common.js"></script>
    <script src="/js/common.main.js"></script>
    <meta property="qc:admins" content="25645563426015466375"/>
    <meta property="wb:webmaster" content="56f2e29563860802"/>
</head>
<body>
<style>
    @charset "UTF-8";
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
        margin: 0;
        padding: 0;
    }

    input {
        outline: none;
    }

    i, em {
        font-style: normal;
    }

    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
        display: block;
    }

    ol, ul {
        list-style: none;
    }

    blockquote, q {
        quotes: none;
    }

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 100%;
        font-weight: normal;
    }

    body {
        font-size: 12px;
        font-family: "Microsoft Yahei";
        -webkit-text-size-adjust: 100%;
    }

    img, select, input, label, textarea {
        vertical-align: middle;
    }

    img {
        border: none;
    }

    .clearfix {
        clear: both;
        zoom: 1;
    }

    .clearfix:after {
        display: block;
        overflow: hidden;
        clear: both;
        height: 0;
        visibility: hidden;
        content: ".";
    }

    a {
        text-decoration: none;
        cursor: pointer;
        color: #000;
    }

    a:hover {
        text-decoration: none;
    }

    .bc {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    html {
        font-size: 75px;
    }

    body {
        font-family: "Microsoft Yahei", SimHei, helvetica, arial, verdana, tahoma, sans-serif;
        font-size: 0.16rem;
        background-color: #f1f1f1;
    }

    html {
        color: #333;
        background: #f1f1f1;
        overflow-y: scroll;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    html * {
        outline: 0;
        -webkit-text-size-adjust: none;
        -webkit-tap-highlight-color: transparent;
    }

    input {
        width: 100%;
        outline: 0;
        -webkit-appearance: none;
        background-color: transparent;
        font-size: inherit;
        color: inherit;
        height: 1.41176471em;
        line-height: 1.41176471;
        border: 1px solid #ccc;
    }

    input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .main {
        background-color: #fff;
    }

    header {
        font-size: 12px;
        height: .8rem;
        line-height: .8rem;
        text-indent: .2rem;
        color: #999;
        background-color: #F5F5F5;
        padding-left: 0.613rem;
    }

    input:focus {
        border: 1px solid #04BE02;
    }

    .choice {
        background-color: #fff;
    }

    .choice header {
        height: 1.06667rem;
        line-height: 1.06667rem;
        background: url("<%- Virtual_Path.Static %>main/image/pay/m/line_06.png") 0.4rem 0.37333rem no-repeat;
        background-size: 0.08rem 0.4rem;
        background-color: #f1f1f1;
        border-top: 1px solid #c7c7c7;
        border-bottom: 1px solid #c7c7c7;
    }

    .account {
        position: relative;
        height: 2.133rem;
        background-color: #fff;
        font-size: 0.29333rem;
    }

    .account .accout_msg {
        position: absolute;
        font-size: 18px;
        top: .38rem;
        left: .267rem;
        color: #000;
        font-family: "微软雅黑";
    }

    .account .accout_msg .nick_name {
        margin-right: 0.33333rem;
    }

    .account .accout_msg .accout_id {
        color: #808080;
    }

    .account .star_cout {
        position: absolute;
        top: 1.2rem;
        left: .267rem;
        color: #999;
        font-size: 16px;
        font-family: "微软雅黑";
    }

    .account .star_cout .star_num {
        color: #fda128;
        margin-right: 0.06667rem;
    }

    .account .change_account {
        font-size: 14px;
        color: #67b9ff;
        position: absolute;
        right: .27rem;
        top: .8rem;
        font-family: "微软雅黑";
        cursor: pointer;
    }

    .choice .list {
        margin-top: 0.33333rem;
    }

    .choice .list ul {
        position: relative;
        display: inline-block;
        width: 2.74667rem;
        height: 2.16rem;
        margin: 0.2rem 0.21333rem 0.13333rem;
        text-align: center;
    }

    .choice .list ul.active li.star {
        border: 1px solid #fed130;
        background-color: #fed130;
        color: #fff;
    }

    .choice .list li.star {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        border: 1px solid #cdcdcd;
        font-size: 0.48rem;
        background-color: #ffffff;
        border-radius: 0.06667rem;
        color: #c6c6c6;
        height: 2.16rem;
        line-height: 1.62667rem;
        text-align: center;
        box-sizing: border-box;
    }

    .choice .list li.star p {
        margin-top: -0.96rem;
        font-size: 0.29333rem;
    }

    .choice footer {
        height: 1.4rem;
        padding-left: .267rem;
        line-height: 1.2rem;
        font-size: 0.29333rem;
    }

    .choice footer label {
        display: inline-block;
        font-family: "微软雅黑";
        text-indent: 0.13333rem;
    }

    .choice footer input {
        width: 2.13333rem;
        height: 0.72rem;
        line-height: 0.45333rem;
        padding: 0.13333rem;
        border: 1px solid #C8C8C8;
        border-radius: 0.06667rem;
        color: #4f4f4f;
        box-sizing: border-box;
    }

    .choice footer input:focus {
        border: 1px solid #fed130;
    }

    .dialog {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        overflow: hidden;
        z-index: 20;
    }

    .dialog .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        background-color: #fff;
        width: 7.86667rem;
        border-radius: 0.08rem;
    }

    .dialog .container header {
        border: 0;
        text-align: center;
        height: 0.93333rem;
        line-height: 0.93333rem;
        padding-left: 0;
        color: #fff;
        font-weight: bold;
        background-color: #fed130;
        font-size: 0.37333rem;
        border-top-left-radius: 0.08rem;
        border-top-right-radius: 0.08rem;
    }

    .dialog .container ul li {
        text-indent: 0.53333rem;
        font-size: 0.34667rem;
        height: 0.8rem;
        line-height: 0.8rem;
        color: #707070;
    }

    .dialog .container ul li span {
        color: #919191;
        font-weight: normal;
    }

    .dialog .container ul li .highlight {
        color: #fbc55f;
    }

    .dialog footer {
        margin-top: .2rem;
        height: 1.06667rem;
        line-height: 1.06667rem;
        background-color: #eee;
        border-top: 1px solid #b3b3b3;
        border-bottom-left-radius: 0.08rem;
        border-bottom-right-radius: 0.08rem;
    }

    .dialog footer a {
        display: inline-block;
        width: 3.86667rem;
        height: 100%;
        text-align: center;
        font-size: 0.37333rem;
        color: #7a7a7a;
    }

    .dialog footer a:first-child {
        border-right: 0.01333rem solid #b3b3b3;
    }

    .btn-box {
        padding: 0 0.58667rem;
        padding-top: 1.6rem;
        background-color: #f1f1f1;
        border-top: 1px solid #c7c7c7;
    }

    .btn-box .btn {
        width: 100%;
        height: 1.2rem;
        line-height: 1.2rem;
        border-radius: 0.66667rem;
        background: #ffba00;
        font-size: 0.42667rem;
        color: #fff;
        text-align: center;
        display: block;
    }

</style>
</body>
<div id="main" class="main">
    <section class="account">
        <div class="accout_msg"><span class="nick_name" id="J_NickName">-</span><span class="accout_id"
                                                                                      id="J_AccountId">-</span></div>
        <div class="star_cout">余额：<span class="star_num" id="J_UserCion">0</span>金币</div>
        <div class="change_account" id="M_Logout">更换账号></div>
    </section>
    <section class="choice">
        <header>选择充值金额：</header>
        <div id="packages" class="list">
            <ul data-price="10" class="active">
                <li class="star">
                    10元
                    <p>(1万币)</p>
                </li>
            </ul>
            <ul data-price="50">
                <li class="star">
                    50元
                    <p>(5万币)</p>
                </li>
            </ul>
            <ul data-price="100">
                <li class="star">
                    100元
                    <p>(10万币)</p>
                </li>
            </ul>
            <ul data-price="200">
                <li class="star">
                    200元
                    <p>(20万币)</p>
                </li>
            </ul>
            <ul data-price="300">
                <li class="star">
                    300元
                    <p>(30万币)</p>
                </li>
            </ul>
            <ul data-price="500">
                <li class="star">
                    500元
                    <p>(50万币)</p>
                </li>
            </ul>
            <ul data-price="800">
                <li class="star">
                    800元
                    <p>(80万币)</p>
                </li>
            </ul>
            <ul data-price="1000">
                <li class="star">
                    1000元
                    <p>(100万币)</p>
                </li>
            </ul>
            <ul data-price="3000">
                <li class="star">
                    3000元
                    <p>(300万币)</p>
                </li>
            </ul>
        </div>
        <footer>
            <label for="pricing">其他金额：</label>
            <input type="tel" name="pricing" id="J_PriceOtherVal" min="1" max="999999" placeholder="0"> 元
            <label for="pricing">（充值比例 1:1000）</label>
        </footer>
    </section>
    <section class="btn-box">
        <a href="javascript:void(0);" class="btn" id="J_WeChat_Pay">充值</a>
    </section>
</div>
<div class="dialog" style="display: none" id="J_Dialog">
    <section class="container">
        <header>请核对信息</header>
        <ul class="body">
            <li>充值全民秀账号：<span id="J_Viewid" li="">-</span></li>
            <li>对应昵称：<span id="J_ViewNickname">-</span></li>
            <li>充值金币：<span class="highlight" id="J_ViewCharge">-</span>金币</li>
        </ul>
        <footer>
            <a href="javascript:;" id="J_Cancel" class="btn">取消</a>
            <a href="javascript:;" id="J_Confirm" class="btn">确认</a>
        </footer>
    </section>
</div>
<script type="text/javascript">
    $(function () {
        $.CommonMain.User_UserInfo(function (json) {
            $('#J_UserCion').text(json.data.Coin);
        });

        if (_StateData.IsLogin) {
            $("#J_NickName").text(_StateData.NickName);
            $("#J_AccountId").text("(ID:" + _StateData.User_ID + ")")
        } else {
            window.location.href = "/mobile/login";
        }
        var _Data = {
            price: 10,
            coin: 10000,
            type: 30,
            is_phone: 1,
            is_frame: 1,
            Pay_From: 3,
            code: null
        };
        $("#packages").on("click", "ul", function () {
            $(this).addClass("active").siblings().removeClass("active");
            _Data.price = $(this).data("price");
            $('#J_PriceOtherVal').val('');
        });
        $('#M_Logout').on("click", function () {
            $.CommonMain.Logout();
        });

        //其它金额
        $('#J_PriceOtherVal').keyup(function () {
            $(this).val($(this).val().replace(/[^0-9]/g, ''))
            _Data.price = $(this).val();
            $("#packages").children("ul").removeClass("active");
        });
        $("#J_WeChat_Pay").on("click", function (e) {
            $("#J_Viewid").text(_StateData.NickName);
            $("#J_ViewNickname").text(_StateData.User_ID);
            $("#J_ViewCharge").text(_Data.price * 1000);
            $('#J_Dialog').show();
        });
        $("#J_Cancel").on("click", function (e) {
            $('#J_Dialog').hide();
            return false;
        });
        $("#J_Confirm").on("click", function (e) {
            $('#J_Dialog').hide();
            var Url = '/heepay/business.user-payorder?pay_type='
                    + _Data.type + '&pay_amt=' + _Data.price + '&pay_code=' + _Data.code + '&is_phone=' + _Data.is_phone + '&is_frame=' + _Data.is_frame + '&Pay_From=' + _Data.Pay_From;
            window.location.href = Url;
        });
    })
</script>
</body>
</html>
